import Vue from 'vue'
import Router from 'vue-router'

// 导入相关页面
import MainPage from '@/pages/MainPage';
import LoveWall from "@/pages/LoveWall";
import TimerShaft from "@/pages/TimerShaft";

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      redirect: "LoveWall"
    },
    {
      path: '/LoveWall',
      name: 'LoveWall',
      component: LoveWall
    },
    {
      path: '/TimerShaft',
      name: 'TimerShaft',
      component: TimerShaft
    }
  ]
})
